<script setup>
import loginCard from "./components/loginCard.vue";
import loginImage from "@/assets/images/login.png";
</script>
<template>
  <div>
    <div class="loginview">
      <div class="header-logo"><span></span><span>Himate</span></div>
      <div class="login-main">
        <div class="login-left">
          <div class="left-info"><img class="left-img" :src="loginImage" alt="#" /></div>
        </div>
        <div class="login-right">
          <div class="login-card">
            <loginCard />
          </div>
        </div>
      </div>
      <div class="login-footer">
        <span>connection to the Himate server</span>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.loginview {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #d7dfeb;
  background-image: linear-gradient(to right, var(--ez-color-white), var(--ez-color-primary));
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  display: flex;
  flex-wrap: wrap;

  .header-logo {
    font-size: 32px;
    font-weight: 800;
    color: #030813;
    box-sizing: border-box;
    padding: 32px 0 0 40px;
  }

  .login-main {
    width: 100%;
    display: flex;
    justify-content: space-between;

    .login-left {
      width: 50%;
      display: flex;
      justify-content: center;
      align-items: center;

      .left-info {
        width: 400px;
        .left-img {
          width: 100%;
          height: auto;
        }
      }
    }

    .login-right {
      width: 50%;
      box-sizing: border-box;
      padding-left: 108px;
    }
  }

  .login-footer {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    text-align: center;

    > span {
      display: inline-block;
    }
  }
}
</style>
